package com.freecloud.javabasics.javap;

/**
 * 代码块作用域
 * @Author: maomao
 * @Date: 2019-11-05 08:51
 */
public class CodeBlockJavap {


    public void code1(){
        byte[] buf = new byte[1024 * 1024 * 30];

        System.gc();
    }

    public void code2(){
        {
            byte[] buf = new byte[1024 * 1024 * 30];
        }
        //int a = 0;
        System.gc();
    }
}
